package com.tansun.rule.utils;

import java.util.List;
import java.util.Map;

public class Helper {

	public static String getStr(String st){
		return st+"ok";
	}
	
	public static Number totalNumber(List<Map<String, Object>> list, String key) {
		Number init = 0;
		for (Map<String, Object> map : list) {
			init = (Number)map.get(key);
			
		}
		return init;
	}
	public static Map<String, Object> getMap(List<Map<String, Object>> list){
		return list.get(0);
	}
}
